﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tron.Players.Search;
using Microsoft.Xna.Framework;

namespace Tron.Players.Strategic
{
    public class StrategicPlayerHelperHeuristic : IHeuristic
    {
        StrategicPlayerHelper strategicPlayerHelper = new StrategicPlayerHelper();

        public StrategicPlayerHelperHeuristic() { }

        public double Evaluate(int[,] board, int depth, Vector2 agentLoc, Vector2 opponentLoc, bool opponentAlive)
        {
            return strategicPlayerHelper.GetNumberOfSquaresThatCanBeReachedBeforeOtherPlayer(board, agentLoc, opponentLoc, opponentAlive);
        }
    }
}
